package drds.server.net.packet;

/**
 * 
 * @author 曹正辉<330937205@qq.com>
 * 
 */
public class Value {
	/** parameter is set */
	public boolean isSet;
	/** default length of data */
	public long length;
	/** data type */
	public int type;
	public byte scale;
	/** 数据值 **/
	public int $int;
	public long $long;
	/** Other value to store */
	public Object value;

	public void reset() {
		this.isSet = false;

		this.length = 0;
		this.type = 0;
		this.scale = 0;

		this.$int = 0;
		this.$long = 0L;
		this.value = null;
	}

}